package cadc.models;

import java.util.List;

import com.windpicker.common.models.Model;

public class WorkSet extends Model {

	private static final long serialVersionUID = 3839656160353354401L;
	
	private int workType;
	private String typeName;
	private List<Group> groupList;
	
	public int getWorkType() {
		return workType;
	}
	public void setWorkType(int workType) {
		this.workType = workType;
	}
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	public List<Group> getGroupList() {
		return groupList;
	}
	public void setGroupList(List<Group> groupList) {
		this.groupList = groupList;
	}
	public int getSize() {
		if(this.groupList!=null)return this.groupList.size();
		else return 0;
	}
}
